<?php
namespace ephalcon\http;

class EResponse extends \Phalcon\Http\Response
{
	public function redirect( $strUrl = null, $bExternalRedirect = false, $statusCode = 302 )
	{
		\HttpServer::$response->header( 'Location', $strUrl );
		\HttpServer::$response->status( $statusCode );
		
		return $this;
	}
}